package router

import (
	"github.com/gin-gonic/gin"
	"go.uber.org/zap"
	"net/http"
)

// 测试健康检查的接口 //5s一次的健康检查
func InitTestRouter(Router *gin.RouterGroup) {
	Router.GET("/health", func(context *gin.Context) {
		zap.S().Info("测试健康检查成功")
		context.JSON(http.StatusOK, gin.H{
			"msg": "健康检查成功",
		})
	})
}
